package com.bjsxt.order.service.impl;

import com.bjsxt.order.dao.OrderDao;
import com.bjsxt.order.service.OrderService;
import com.livegoods.commons.vo.LivegoodsResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName : OrderServiceImpl
 * @Description :
 * @Author : ZWZ
 * @Date: 2021/8/27 18:06
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public LivegoodsResult getOrders(String user) {
        return LivegoodsResult.ok(orderDao.getOrders(user));
    }
}
